import request from '@/utils/request'
export function reqaclrole(page, limit, roleName) {
    return request.get(`/admin/acl/role/${page}/${limit}`, { params: { roleName } })
}
// 新增单个角色
export function saveRoleItem(role) {
    return request.post(`/admin/acl/role/save`, role)
}
// 修改角色
export function reWriteRole(role) {
    return request.put(`/admin/acl/role/update`, role)
}
// 删除单个角色
export function delRoleItem(id) {
    return request.delete(`/admin/acl/role/remove/${id}`)
}
// 删除多个角色
export function delRoleList(idList) {
    return request.delete(`/admin/acl/role/batchRemove`, { data: idList })
}